package org.kl.bpm.entity.conf;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.kl.bf.entity.IdEntity;

/**
 * 
 * @Author hqm
 * @CreateTime 2014年5月25日 下午7:41:59
 */
@Entity
@Table(name = "BPM_MAIL_TEMPLATE")
public class BpmMailTemplate extends IdEntity {
	private static final long serialVersionUID = 0L;
	private String name;
	private String subject;
	private String content;

	public BpmMailTemplate() {
	}

	public BpmMailTemplate(String id) {
		this.id = id;
	}

	public BpmMailTemplate(String name, String subject, String content) {
		this.name = name;
		this.subject = subject;
		this.content = content;
	}

	/** @return null. */
	@Column(name = "template_name", length = 50)
	public String getName() {
		return this.name;
	}

	/**
	 * @param name
	 *            null.
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** @return null. */
	@Column(name = "template_subject", length = 100)
	public String getSubject() {
		return this.subject;
	}

	/**
	 * @param subject
	 *            null.
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}

	/** @return null. */
	@Column(name = "template_content", length = 200)
	public String getContent() {
		return this.content;
	}

	/**
	 * @param content
	 *            null.
	 */
	public void setContent(String content) {
		this.content = content;
	}
}
